package com.ruoyi.slope.gateway.service;

import java.util.List;
import com.ruoyi.slope.gateway.domain.SlopeGatewayInfo;

/**
 * 边坡网关信息Service接口
 * 
 * @author psy
 * @date 2025-05-18
 */
public interface ISlopeGatewayInfoService 
{
    public int alarm(String gatewaySn);

    public int cancelAlarm(String gatewaySn);

    public int getData(String gatewaySn);

    public int getDataTime(String gatewaySn,String time);

    /**
     * 查询边坡网关信息
     * 
     * @param id 边坡网关信息主键
     * @return 边坡网关信息
     */
    public SlopeGatewayInfo selectSlopeGatewayInfoById(Long id);

    /**
     * 查询边坡网关信息列表
     * 
     * @param slopeGatewayInfo 边坡网关信息
     * @return 边坡网关信息集合
     */
    public List<SlopeGatewayInfo> selectSlopeGatewayInfoList(SlopeGatewayInfo slopeGatewayInfo);

    /**
     * 新增边坡网关信息
     * 
     * @param slopeGatewayInfo 边坡网关信息
     * @return 结果
     */
    public int insertSlopeGatewayInfo(SlopeGatewayInfo slopeGatewayInfo);

    /**
     * 修改边坡网关信息
     * 
     * @param slopeGatewayInfo 边坡网关信息
     * @return 结果
     */
    public int updateSlopeGatewayInfo(SlopeGatewayInfo slopeGatewayInfo);

    /**
     * 批量删除边坡网关信息
     * 
     * @param ids 需要删除的边坡网关信息主键集合
     * @return 结果
     */
    public int deleteSlopeGatewayInfoByIds(Long[] ids);

    /**
     * 删除边坡网关信息信息
     * 
     * @param id 边坡网关信息主键
     * @return 结果
     */
    public int deleteSlopeGatewayInfoById(Long id);
}
